package com.vancouver.knows.business.bean;

import com.google.android.gms.maps.model.LatLng;
import com.google.maps.android.clustering.ClusterItem;

/**
 * Created by chenxunlin01 on 2016/6/7.
 */
public class MapItem implements ClusterItem {

    private final LatLng mPosition;
    private final DiscountInfo discountInfo;

    public MapItem(double lat, double lng,DiscountInfo discountInfo) {
        this.discountInfo = discountInfo;
        mPosition = new LatLng(lat, lng);
    }

    @Override
    public LatLng getPosition() {
        return mPosition;
    }

    public DiscountInfo getDiscountInfo() {
        return discountInfo;
    }
}
